package com.tengju.user.infrastructure.persistence.mybatis.mapper.data;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.StarChangeNoticeRecordDO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/9/28
 */
public interface StarChangeNoticeRecordCustomMapper {

    int countStarNotice(@Param("noticeDate") LocalDate noticeDate, @Param("type") Integer type);

    List<StarChangeNoticeRecordDO> listStarNotice(@Param("noticeDate") LocalDate noticeDate,
                                                  @Param("type") Integer noticeType,
                                                  @Param("offset") Integer offset,
                                                  @Param("limit") Integer limit);
}
